-- GENERATED SPELL FOR [Rhonsus] --


function spell0_20410(pUnit, Event) --@Smithery Check,n/a--
pUnit:FullCastSpellOnTarget(36103,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_20410', 531, 1)
end

function Sorts_20410(pUnit, Event)
local choix_sorts_20410 = math.random(0, 0)
if choix_sorts_20410 == 0 then
pUnit:RegisterEvent('spell0_20410', 1, 1)
end
end

function mob20410_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_20410', math.random(1500, 3000), 1)
end

function mob20410_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20410_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20410_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(20410, 1, 'mob20410_Action')
RegisterUnitEvent(20410, 2, 'mob20410_Leave')
RegisterUnitEvent(20410, 3, 'mob20410_Kill')
RegisterUnitEvent(20410, 4, 'mob20410_Die')
